sizerequest: Move css handling to gtk_widget_measure
authorTimm Bäder <mail@baedert.org>
Sat, 6 May 2017 08:02:03 +0000 (10:02 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:11 +0000 (21:27 -0400)
commit78bb0ed2cb3ac11a8c00e5fc4723aef68f97ea66
treec6f8839814c8431d3103c7815477f50d7206e315
parent5066308e86e77153a6f9aa55f94f8b2d3e010b5d
sizerequest: Move css handling to gtk_widget_measure

We need to adjust the passed for_size to fit into the content allocation
of the widget.
That also means that we can't call gtk_widget_measure(widget) inside
gtk_widget_measure(widget) since now the for_size will be adjusted
twice.
gtk/gtksizerequest.c